<template>
<div>
	<div class="logo">AI智能库管理中心</div>
	<div class="headerIMG">
		<img src="" alt=""/>
		<div class="name">
			<el-dropdown :hide-on-click="false">
  <span class="el-dropdown-link">
    {{userInfo.Nickname}}<i class="el-icon-arrow-down el-icon--right"></i>
  </span>
  <el-dropdown-menu slot="dropdown" class="headerNameBox">
    <el-dropdown-item><a class="a" href="Login/exit">退出</a></el-dropdown-item>
  </el-dropdown-menu>
</el-dropdown>
		</div>
	</div>
</div>
	
</template>

<script>
	export default {
		data() {
			return {
				tabActive1: 0,
				userInfo:{
					Nickname:'用户'
				}
			};
		},
		mounted: function() {
			this.userInfo=JSON.parse(this.getCookie("userInfo"))
  	}
	};
</script>

<style>

</style>